﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MainPanelContent:UIBaseContent
{
    public MainPanelContent() : base(UIType.MainPanelType) { }

}


public class MainPanel : UIBaseView
{
    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }

    public override void OnEnter(UIBaseContent uIContent)
    {
        GetComponent<BaseCG>().Show();
    }
    public override void OnPause(UIBaseContent uIContent)
    {
        GetComponent<BaseCG>().Hide();
    }
    public override void OnResume(UIBaseContent uIContent)
    {
        GetComponent<BaseCG>().Show();
    }
    public override void OnExit(UIBaseContent uIContent)
    {
        GetComponent<BaseCG>().Hide();
    }
}
